#include "vectorfunctions.h"
#include <iostream>

int main()
{
	int mat[10][10];
	int x[100];
	int i, j, n=0, row, col, sum=0;
	bool is;
	cout<<"Number of rows ";
	cin>>row;
	cout<<"Number of colons ";
	cin>>col;
	for (i=0; i<row; i++)
		for (j=0; j<col; j++){
			cout<<"m["<<i<<"]["<<j<<"]= ";
			cin>>mat[i][j];	
		}
	is = true;
	for (i=0; i<row; ++i)
		if(is==true)
			for (j=0; j<col; ++j){
				if(i!=j)
					if(mat[i][j]!=mat[j][i])
						is = false;
			}
		else 
			break;
	for (i=0; i<row; i++){
		for (j=0; j<col; j++)
			cout<<mat[i][j]<<" ";
		cout<<endl;	
		}
	if(is==true)
		cout<<"Matrice simetrica"<<endl;
	else
		cout<<"Matricea NU este simetrica"<<endl;
	
	
return 0;
}
